import os, sys, string, commands, time, threading

class CmdThread(threading.Thread):
	def __init__(self, name=None):
		threading.Thread.__init__(self)
		self.name = name

	def run(self):
		result = commands.getstatusoutput("bkill 0")
#		for i in range(1, len(result)):
#			print result[i]

if __name__=='__main__':
	for i in range(0, 20):
		t = CmdThread("thread_" + str(i))
		t.start()


#import threading
#class MyThread(threading.Thread):
#	def __init__(self, name=None):
#		threading.Thread.__init__(self)
#		self.name = name
#	
#	def run(self):
#		print self.name
#
#
#def test():
#	for i in range(0, 100):
#		t = MyThread("thread_" + str(i))
#		t.start()
#	
#if __name__=='__main__':
#	test()

